.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 10px;
}

.date {
  padding-left: 20px;
  font-size: 12px;
  color: #999999;
}

.content {
  height: calc(100vh - 135px);
  display: flex;
  justify-content: space-around;
  gap: 40px;
}

// left card
::v-deep .record.el-button--mini {
  padding: 3px 5px;
}

.des {
  padding: 0 0 5px;
  margin: 0 0 15px;
  border-bottom: 1px solid #f5f5f5;

  ::v-deep .description {
    .el-textarea__inner {
      border: none;
    }
  }
}

.parameters {
  .parameters-form {
    .empty {
      text-align: center;
      padding: 20px;
      color: #999999;
    }
    .draggable-item {
      padding: 5px;
      margin: 0 0 5px;
      display: flex;
      border: 1px solid #f5f5f5;
      border-radius: 4px;
      align-items: center;

      div {
        flex-shrink: 0;
      }

      .var-icon {
        width: 14px;
        height: 14px;
        vertical-align: baseline;
        margin-right: 5px;
      }

      .var-name {
        flex: 1;
        font-size: 15px;
        font-weight: 600;
      }

      .show-name {
        flex: 3;
        font-size: 14px;
        color: #999999;

        ::v-deep .el-input__inner {
          height: 25px;
          line-height: 25px;
          border: none;
          padding: 0 0 0 5px;
        }
      }

      .is-required {
        width: 30px;
        font-size: 12px;
        color: #666666;
        text-align: center;
        flex-wrap: nowrap;
      }

      .drag-icon {
        width: 20px;
        text-align: center;
        cursor: pointer;
      }

      i {
        color: #666666;
      }
    }
  }
}

.steps {
  .step {
    margin: 20px 0 0;
  }

  .step-header {
    display: flex;
    justify-content: space-between;
    margin: 0 0 10px;

    .step-header-title {
      font-weight: bold;
      margin: 0 5px 0 0;
      font-size: 18px
    }

    .edit-title-input {
      ::v-deep .el-input__inner {
        height: 23px;
        line-height: 23px;
      }
    }
  }

  .step-right {
    display: flex;
    align-items: center;

    .header-title-icon {
      width: 14px;
      height: 14px;
      margin-left: 5px;
      cursor: pointer;

      img {
        width: 100%;
        height: 100%;
        vertical-align: baseline;
      }
    }
  }

  .step-content {
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;

    .step-content-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 0 0 5px;
      .step-subtitle {
        font-weight: 600;
      }
      .step-test {
        height: 16px;
        width: 16px;
        border-radius: 50%;
        border: 1px solid #999999;
        text-align: center;
        cursor: pointer;
        i.el-icon-caret-right {
          line-height: 16px;
          font-size: 14px;
        }
      }
    }

    .step-content-textarea {
      ::v-deep .el-textarea__inner {
        padding: 0;
        font-size: 14px;
        background: transparent;
        border: none;
      }
    }
  }
}

.plus {
  margin: 15px 0 0;
  .el-button {
    width: 100%;
    height: 40px;
    background: #f5f5f5;
    border: none;
  }
}

// middle card
.model-title {
  text-align: center;
  font-size: 13px;
}

.model {
  border-radius: 8px;
  padding: 8px 8px 10px;

  &.disabled {
    pointer-events: none;
    cursor: not-allowed;
    background: #f5f5f5;
    color: #999999;
    ::v-deep .small-card {
      .title {
        color: #999999;
      }
    }
  }
}

::v-deep .selector {
  width: 100%;
  .el-input__inner {
    border-radius: 8px;
  }
}

.option {
  display: flex;
  align-items: center;

  .option-prefix {
    width: 20px;
    height: 20px;
    vertical-align: baseline;
  }

  .option-name {
    margin: 0 5px;
  }

  .option-suffix {
    height: 16px;
    line-height: 16px;
    display: inline-block;
    padding: 0 3px;
    background: #f5f5f5;
    border-radius: 4px;
    border: 1px solid #999999;
    color: #999999;
    font-weight: 400;
  }
}

::v-deep .el-divider {
  margin: 10px 0;
}

.search-model {

  .select-kb {

    .top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 15px 0 5px;
    }

    .plus {
      .el-button {
        width: 100%;
        height: 40px;
        background: #f5f5f5;
        border: none;
      }
    }
  }

  .select-url {
    display: flex;
    align-items: center;
    margin: 15px 0 5px;

    .left {
      margin-right: 10px;
      flex-shrink: 0;
    }

    input {
      width: 100%;
      border-width: 1px;
      border-left: none;
      border-right: none;
      border-top: none;
      border-radius: 0;
      outline: none;
    }
  }
}

// 文本框样式
::v-deep .w-textarea {
  border: none;

  .w-textarea_input {
    padding: 0;
  }

  .w-textarea_tools {
    border: none;
  }

  wise {
    display: inline-block;
    background: #ffffff;
    border-radius: 4px;
    color: #1c65f2;
    border: 1px solid #dcdfe6;
    padding: 0 10px;
    height: 16px;
    line-height: 16px;
    font-size: 12px;
  }
}
